<div class="action-dialog-model-fixed-body">
<div class="detaiTab  detaiTab1 detailsBox">
	 
	<div class="detailsBox">
	 <div class="openBox">
	 <!-- 贷款要素 begin -->
	 <h3><i class="jtIco"></i>贷款要素
     </h3>
  	  <div class="action-ajax-load" data-url="/rback/l_i_common?loanapplyNo=${loanapply.loanapplyNo}"></div> 
  	 <!-- 贷款要素  end -->
     </div>
    </div>
	 
	  <div class="openBox">
	         <h3 class="mt20"><i class="jtIco1"></i>退费信息</h3>
	        <div style="display: none;"><@pagination paginationInfo="paginationInfo"/></div>
       </div>
	  <div class="openBox">
		  		<h3><i class="jtIco"></i>费用情况</h3>
		  		<div>
	 <table border="0" cellpadding="0" cellspacing="0" width="100%">
	 	<tr>
	 		<td width="15%" class="bg" align="center">类型</td>
	 		<td class="bg" align="center">应收</td>
	 		<td class="bg" align="center">实收</td>
	 		<td class="bg" align="center">已退</td>
	 		<td class="bg" align="center">未退</td>
	 	</tr>
	 	<tr>
	 		<td class="bg" align="center">保证金</td>
	 		<td align="center">${loanapplyExpand.recDeposite!'0'}</td>
	 		<td align="center">${loanapplyExpand.redDeposite!'0'}</td>
	 		<td align="center">${loanapplyExpand.retaDeposite!'0'}</td>
	 		<td align="center">${loanapplyExpand.retnDeposite!'0'}</td>
	 	</tr>
	 	<tr>
	 		<td class="bg" align="center">管理费</td>
	 		<td align="center">${loanapplyExpand.recManger!'0'}</td>
	 		<td align="center">${loanapplyExpand.redManger!'0'}</td>
	 		<td align="center">${loanapplyExpand.retaManage!'0'}</td>
	 		<td align="center">${loanapplyExpand.retnManage!'0'}</td>
	 	</tr>
	 	<tr>
	 		<td class="bg" align="center">风险补偿金</td>
	 		<td align="center">${loanapplyExpand.recRisk!'0'}</td>
	 		<td align="center">${loanapplyExpand.redRisk!'0'}</td>
	 		<td align="center">${loanapplyExpand.retaRisk!'0'}</td>
	 		<td align="center">${loanapplyExpand.retnRisk!'0'}</td>
	 	</tr>
	 </table>
	 </div></div>
	
	 <!-- 夫妻双方贷款记录  begin -->
	<div class="openBox">
		<h3 class="mt20">
			<i class="jtIco1"></i>夫妻双方的贷款记录
		</h3>
		<div class="action-ajax-load-show"
		data-url="<@url value='/customerInfo/rest/loan_detail?customer_id_number=${basic.idNumber}&mate_id_number=' />"
		data-ajax-wait-img="<@cdn value='img.wait'/>" style="display: none">
	</div>
	</div>
	<!-- 夫妻双方贷款记录  end -->
	 <!-- 夫妻双方的逾期和代偿信息 begin -->
	<!--<div class="action-ajax-load detailsBox" data-url="<@url value='/overdueReport/report_view?idCard=${basic.idNumber}&spouseIdCard=' />" data-ajax-wait-img="<@cdn value='img.wait'/>"> </div>-->
	<!-- 夫妻双方的逾期和代偿信息  end -->
	<!-- 代偿数据 begin -->
	<div class="openBox">
		<h3 class="mt20">
		<i class="jtIco1"></i>夫妻双方代偿数据
		</h3>
	<div id="bad_loan_page" class="action-ajax-load" 
		data-url="<@url value='/rbadloan/badLoanPage?idCard=${basic.idNumber}&spouseIdCard=${materEntity.documentNo }'/>"
		data-ajax-wait-img="<@cdn value='img.wait'/>" style="display: none"></div>
	</div>
	<!-- 代偿数据  end -->
	<!-- 逾期数据 begin -->
	<div class="openBox">
		<h3 class="mt20">
		<i class="jtIco1"></i>夫妻双方逾期数据
		</h3>
	<div id="overdue_loan_page" class="action-ajax-load" 
		data-url="<@url value='/overdueReport/overdueLoanPage?idCard=${basic.idNumber}&spouseIdCard=${materEntity.documentNo }'/>"
		data-ajax-wait-img="<@cdn value='img.wait'/>" style="display: none"></div>
	</div>
	<!-- 逾期数据  end -->
	
	<!-- 夫妻双方历史收退费情况记录  end -->
		<div class="openBox">
		    <h3 class="mt20"><i class="jtIco"></i>夫妻双方历史收退费情况
		    </h3>
	       	<div class="dataBable">
	            <div id="o2o_DBresult" class="action-ajax-load" data-url="/rbackfee/o2oDBbackfee?loanapplyNo=${loanapply.loanapplyNo}&loanId=${loanapply.loanId}"></div>
			 </div>    
		</div>
<!-- 夫妻双方历史收退费情况记录  end -->
	
	
	<#if type == "1"> 
		<div class="action-ajax-load" data-url="<@url value='${approvalUrl}' />"></div>
		<#else> 
		<div class="detailsBox"> <!--审核历史--> 
		<div class="openBox">
		<h3 class="mt20">
		<i class="jtIco1"></i>收保证金管理费流程
		</h3>
			<div class="action-ajax-load" data-url="<@url value='/wf/processNode/agreeInfo?referId=${loanapply.loanapplyNo}&amp;processType=DEPOSIT' domain='o2o.admin.workflow'/>"  style="display: none" >审核历史加载中。。。</div>
		</div>
		
		<div class="openBox">
		<h3 class="mt20">
		<i class="jtIco1"></i>退保证金管理费流程
		</h3>
			<div class="action-ajax-load" data-url="<@url value='/wf/processNode/agreeInfo?referId=${loanapply.loanapplyNo}&amp;processType=REFUND_MGR_FEE' domain='o2o.admin.workflow'/>"  style="display: none">审核历史加载中。。。</div>
		</div>
	</#if> 
	
	<#if type != "1"> 
	<div id="detailBtnDiv" class=" tac footFixed">
	<table  border="0" cellpadding="0" cellspacing="0" width="100%">
	 <tr>
             <td >
             <#if comBackFeeForm??><!-- ??是否为空,不为空则执行 -->
	             <#if comBackFeeForm.billStatus=="NEW"><!-- 启动流程按钮 -->
	             	<!--<td ><input type="submit" value="保存" class="btn_auto_30 btn_blue" />  -->
	            	<a href="<@url value='${button.url}'/>" class="btn_auto_30 btn_blue action-ajax-btn">${button.title}</a>
	            </#if>
            </#if>
            <a href="/rbackfee/print?billCode=${loanapply.billCode}&printType=NEW&id=${comBackFeeForm.id}" class="btn_auto_30 btn_blue action-ajax-btn" >打印退款信息单</a>
            </td>
         </tr>
	 </table>
	 </div>
	 </#if>
	 
	 </div>
</div>
</div>